class CreateDocumentsPositions < ActiveRecord::Migration
  def self.up
    create_table :documents_positions do |t|
      t.float :quantity, :null => false

      t.integer :document_id
      t.integer :product_id
      
      t.timestamps
    end
  end

  def self.down
    drop_table :documents_positions
  end
end
